home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
SRCHPATH.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
944b
|
43 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Search_Path( cFileName ) --> cPathString
PARAMETERS:
cFileName : File name to search PATH for
SHORT:
Determine where in the OS PATH a specified file exists.
DESCRIPTION:
_Search_Path extracts and returns from the OS PATH the path that contains
the file 'cFileName'. If the file is not found, it returns "".
NOTE:
EXAMPLE:
Aassuming PATH = 'C:\APPS;C:\DOS;C:\UTILITY;C:\PROGRAMS' and that COMMAND.COM
is in the DOS directory:
t = _Search_Path('COMMAND.COM')
Result: t = 'C:\DOS'
Assume that QEDIT.EXE is in the UTILITY directory:
t = _Search_Path('QEDIT.EXE')
Result: t = 'C:\UTILITY'
******************************************************************************/